package stream

import (
	"context"
	"private-domain-overseas-service/app/task/api/internal/svc"

	"fmt"
)

type StreamDyOrder struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
}

func NewStreamDyOrder(ctx context.Context, svcCtx *svc.ServiceContext) *StreamDyOrder {
	return &StreamDyOrder{
		ctx:    ctx,
		svcCtx: svcCtx,
	}
}

func (l *StreamDyOrder) DyOrderCallback(val string) error {

	fmt.Printf("==================抖音消息回调消费成功==================:%s\n", val)
	return nil
}
